package com.chaoyi.service;

import java.io.IOException;
import java.util.List;

import javax.servlet.http.Part;

import com.chaoyi.model.PrivatePlay;

public interface PrivatePlayService {
	/**
	 * 查询所有私播内容(分页)
	 * @param offset
	 * @param limit
	 * @return
	 */
	public List<PrivatePlay> findList(String offset, String limit);
	
	public String uploadClassifyImg2WSCDN(Part uploadFile) throws IOException, Exception;

	public String uploadClassifyAudio2WSCDN(Part uploadFile) throws IOException, Exception;

	public int savePrivatePlay(PrivatePlay privatePlay);

	public PrivatePlay findPrivatePlayOne(int id);

	public int alertSavePrivatePlay(PrivatePlay privatePlay);

	public int deletePrivatePlay(int id);

	public List<PrivatePlay> findAllList();

	public int findCount();

}
